package com.gxuwz.dao;

import com.gxuwz.entity.Instructor;
import com.gxuwz.entity.Student;
import com.gxuwz.entity.User;

/**
 * @Description:实现用户注册和登录功能接口
 */

public interface LoginDao {

    /**
     * @Description:查询所有的用户记录信息
     * @Param:  [com.gxuwz.entity.User]
     * @Return: com.gxuwz.entity.User
     */

    public User selectUser(User entity);

    /**
     * @Description:查询学生记录信息
     * @Param:  [com.gxuwz.entity.Student]
     * @Return: com.gxuwz.entity.Student
     */

    public Student selectStudent(Student entity);

    /**
     * @Description:查询辅导员记录信息
     * @Param:  [com.gxuwz.entity.Instructor]
     * @Return: com.gxuwz.entity.Instructor
     */

    public Instructor selectInstructor(Instructor entity);

}
